package com.huzz.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* 系统部门 更新Model
*
* @author 童年的纸飞机
* @since 2023-06-07 11:25
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
@ApiModel("系统部门 更新Model Args")
public class SysDepartmentUpdateModel implements Serializable {

    @NotNull
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "部门描述")
    private String description;

    @ApiModelProperty(value = "状态(1开启,0关闭)")
    private Integer status;

    @ApiModelProperty(value = "父级id(默认0为根部门)")
    private Integer parentId;

    @ApiModelProperty(value = "部门电话")
    private String phone;


}